package com.moyu.admin.constant;

public enum RespCode {
  SUCCESS(200, "响应成功"),

  ERROR(500, "失败");

  private int code;
  private String msg;

  RespCode(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public String getMsg() {
    return msg;
  }

  public void setMsg(String msg) {
    this.msg = msg;
  }
}
